Replace Nested If Statements

Replace Nested Conditional with Guard Clauses